package com.training.bt.common;

import lombok.Data;

import java.util.List;

@Data
public class PageResponseDTO<T> {
    private long total;
    private List<T> records;

    public PageResponseDTO(long total, List<T> records) {
        this.total = total;
        this.records = records;
    }
}